package com.huidian.gitbatchprocessing.ui.mycomponent;

/**
 * 自定义的下拉框元素
 *
 * @author zxb
 * @date 2021/6/20
 */
public class ComboBoxItem {
    private final Byte key;
    private final String name;

    public ComboBoxItem(Byte key, String name) {
        this.key = key;
        this.name = name;
    }

    public Byte getKey() {
        return this.key;
    }

    public String getName() {
        return this.name;
    }

    @Override
    public String toString() {
        return name;
    }
}
